package com.bigdata.appliance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdata.appliance.common.pojo.PageResult;
import com.bigdata.appliance.entity.Orders;
import com.bigdata.appliance.vo.req.DoPayReqVO;
import com.bigdata.appliance.vo.req.GetBusinessmanOrderReqVO;
import com.bigdata.appliance.vo.req.PageOrdersReqVO;
import com.bigdata.appliance.vo.req.UpdateOrderStatusReqVO;
import com.bigdata.appliance.vo.resp.GetBusinessmanOrderRespVO;
import com.bigdata.appliance.vo.resp.PageOrdersRespVO;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author appliance-shop
 * @since 2023-12-24
 */
public interface IOrdersService extends IService<Orders> {


    void doPay(DoPayReqVO vo);

    void updateOrderStatus(UpdateOrderStatusReqVO vo);

    PageResult<PageOrdersRespVO> pageOrders(PageOrdersReqVO vo);

    List<GetBusinessmanOrderRespVO> getBusinessmanOrder(GetBusinessmanOrderReqVO vo);
}
